Skip to main content

LongestMatch

LongestMatch[p] is a string pattern object matching the longest sequence of characters consistent with the string pattern p.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.